#app {
  width: 100vw;
  background: rgba(243, 243, 243, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  height: 100vh;
  #videobox {
    width: 100%;
    height: 4.2rem;
    position: relative;

    .live {
      height: 100%;
      width: 100%;
    }

    .my-player-dimensions {
      height: 100%;
      width: 100%;
    }

    .hold {
      position: absolute;
      z-index: 999;
      top: 50%;
      left: 50%;
      padding: 0.18rem 0.26rem;
      font-size: 0.24rem;
      font-family: PingFang SC;
      font-weight: 400;
      color: rgba(255, 254, 254, 1);
      transform: translate(-50%, -50%);
      background-color: rgba(0, 0, 0, 0.5);
      border-radius: 0.3rem;
    }

    .title {
      position: absolute;
      z-index: 999;
      bottom: 0;
      left: 0;
      width: 100%;
      font-size: 0.24rem;
      height: 0.7rem;
      line-height: 0.7rem;
      background: linear-gradient(
        90deg,
        rgba(179, 30, 34, 1) 0%,
        rgba(255, 0, 0, 1) 100%
      );
      font-size: 0.26rem;
      font-family: PingFang SC;
      font-weight: 400;
      color: rgba(255, 254, 254, 1);
      padding-left: 0.48rem;
    }

    .vjs-big-play-button {
      width: 0.72rem;
      height: 0.72rem;
      border-radius: 50%;
      margin: 0;
      transform: translate(-50%, -50%);
      line-height: 0.72rem;
      background-color: rgba(0, 0, 0, 0.5);
    }
  }

  .contain_info {
    background-color: #ffffff;
    width: 100%;
    // padding-top: 0.35rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-left: 0.38rem;
    // padding-bottom: 0.45rem;
    padding-right: 0.38rem;
    height: 1.67rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    // height: 2.38rem;
    &.hasletter {
      justify-content: space-between !important;
      padding-top: 0.35rem;
      padding-bottom: 0.36rem;
      // padding-top: 0.1rem;
      // padding-bottom: 0.1rem;
    }
    > p {
      font-size: 0.32rem;
      font-family: Source Han Sans CN;
      font-weight: bold;
      color: rgba(36, 36, 36, 1);
      text-overflow: -o-ellipsis-lastline;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;
      width: 100%;
      line-height: 1.5;
    }

    > span {
      font-size: 0.26rem;
      font-family: Source Han Sans CN;
      font-weight: 400;
      color: rgba(117, 117, 117, 1);
      margin-top: 0.38rem;
    }
  }

  .kong {
    height: 0.14rem;
    background: rgba(248, 248, 248, 1);
    width: 100%;
  }

  .live_tab {
    width: 100%;
    padding-left: 0.38rem;
    background-color: #ffffff;
    display: flex;
    font-size: 0.26rem;
    font-family: Source Han Sans CN;
    font-weight: 400;
    color: rgba(117, 117, 117, 1);
    justify-content: flex-start;
    align-items: center;
    position: relative;
    cursor: none;
    height: 1.14rem;
    &::after {
      position: absolute;
      content: " ";
      width: 100%;
      left: 0;
      bottom: 0;
      height: 1px;
      transform: scaleY(0.5);
      background: rgba(243, 243, 243, 1);
    }

    > div {
      margin-right: 0.8rem;
      position: relative;
      padding: 0.4rem 0;

      &.active {
        font-weight: bold;
        color: rgba(36, 36, 36, 1);

        &::after {
          content: " ";
          position: absolute;
          width: 100%;
          left: 0;
          bottom: 1px;
          height: 2px;
          background: rgba(255, 0, 0, 1);
          border-radius: 0.02;
        }
      }
    }
  }

  .live_card {
    width: 100%;
    background-color: #ffffff;
    padding: 0 0.38rem;
    padding-top: 0.55rem;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;

    > div {
      &:nth-child(2n) {
        margin-left: 0.18rem;
      }

      margin-bottom: 0.3rem;
    }

    .card {
      width: 3.28rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      background: rgba(255, 255, 255, 1);
      box-shadow: 0px 0.05rem 0.18rem 0px rgba(232, 232, 232, 0.59);
      border-radius: 0.1rem;
      position: relative;

      > img {
        width: 100%;
        height: 1.85rem;
        display: block;
      }

      > div {
        width: 100%;
        padding: 0 0.14rem;
        padding-bottom: 0.3rem;

        > p {
          &:first-child {
            font-size: 0.26rem;
            font-family: Source Han Sans CN;
            font-weight: bold;
            margin-top: 0.2rem;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }

          &:last-child {
            font-size: 0.26rem;
            font-family: Source Han Sans CN;
            font-weight: 400;
            color: rgba(117, 117, 117, 1);
            margin-top: 0.2rem;
            vertical-align: middle;
          }
        }
      }
    }

    .card_state {
      width: 1.16rem;
      height: 0.42rem;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      background: rgba(43, 43, 43, 0.5);
      border-radius: 0.05rem;
      position: absolute;
      left: 0.17rem;
      top: 0.23rem;
      padding-left: 0.1rem;

      > div {
        background-image: url("../img/liveing.gif");
        background-repeat: no-repeat;
        width: 0.22rem;
        height: 0.5rem;
        background-position: center center;
        background-size: cover;
        margin-right: 0.1rem;
      }

      > span {
        font-size: 0.22rem;
        font-family: Source Han Sans CN;
        font-weight: 400;
        color: rgba(255, 255, 255, 1);
      }
    }
  }

  .advance {
    width: 100%;
    background-color: #ffffff;
    font-size: 0.3rem;
    overflow: hidden;
    padding-top: 0.55rem;
    flex-grow: 1;
    flex: 1;
    overflow-x: hidden;
    overflow-y: scroll;
    // height: 5.2rem;
    img {
      display: flex;
      width: 100%;
    }

    p {
      width: 100%;
      margin-top: 0.2rem;
      text-align: justify;
      padding: 0 0.38rem;
      font-size: 0.28rem;
      font-family: PingFang SC;
      font-weight: 500;
      color: rgba(36, 36, 36, 1);
      line-height: 1.8em;
    }

    blockquote {
      position: relative;
      text-indent: 1em;
      margin-top: 0.2rem;
      margin-left: 0.38rem;
      font-size: 0.28rem;
      &::after {
        position: absolute;
        left: 0rem;
        top: 0;
        content: " ";
        width: 0.1rem;
        height: 100%;
        margin-right: 0.2rem;
        background-color: #ff0000;
      }
    }

    input {
      display: none !important;
    }
  }

  .live_share {
    position: absolute;
    right: 0;
    top: 0.1rem;
    z-index: 99;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 0.35rem;

    .collction {
      width: 0.68rem;
      height: 0.68rem;
      background: rgba(43, 43, 43, 0.3);
      border-radius: 50%;
      display: flex;
      justify-self: center;
      align-items: center;
      text-align: center;
      position: relative;

      > img {
        width: 0.39rem;
        align-self: center;
        display: inline-block;
        position: absolute;
        left: 50%;
        top: 52%;
        transform: translate(-50%, -50%);
      }
    }

    .share {
      width: 0.68rem;
      height: 0.68rem;
      background: rgba(43, 43, 43, 0.3);
      border-radius: 50%;
      display: flex;
      justify-self: center;
      align-items: center;
      text-align: center;
      position: relative;
      margin-left: 0.4rem;

      > img {
        width: 0.35rem;
        align-self: center;
        display: inline-block;
        position: absolute;
        left: 50%;
        top: 51%;
        transform: translate(-50%, -50%);
      }
    }
  }

  .toast {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    padding: 0.1rem 0.2rem;
    font-size: 0.24rem;
    font-weight: 600;
    text-align: center;
    border-radius: 0.1rem;
  }

  .bottom_in {
    height: 1.08rem;
    width: 100%;
    background-color: #ffffff;
    padding: 0.22rem;
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    padding-left: 0.38rem;
    > input {
      width: 5.64rem;
      // position: absolute;
      flex-shrink: 0;
      border: none;
      background: rgba(243, 243, 243, 1);
      padding-left: 0.4rem;
      font-size: 0.26rem;
    }
    > button {
      // position: absolute;
      flex-grow: 1;
      background-color: #ffffff;
      border: none;
      font-size: 0.26rem;
      font-family: PingFang SC;
      font-weight: 500;
      color: rgba(117, 117, 117, 1);
      cursor: pointer;
    }
  }
}
input:focus {
  border: none;
  box-shadow: none;
}
input,
button {
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.max_height {
  height: calc(100vh - 7.15rem);
}
.left {
  position: relative;
  transform: rotate(-90deg);
  top: 0.15rem;
  display: none;
  right: -2rem;
}
.left:before,
.left:after {
  position: absolute;
  content: "";
  border-top: 0.1rem transparent dashed;
  border-left: 0.1rem transparent dashed;
  border-bottom: 0.1rem transparent dashed;
  border-right: 0.1rem #fff solid;
}
.left:before {
  border-right: 0.1rem #757575 solid;
}
.left:after {
  left: 1px; /*覆盖并错开1px*/
  border-right: 0.1rem #fff solid;
}

.hudong {
  padding-left: 0.38rem;
  background: rgba(243, 243, 243, 1);
  width: 100%;
  position: relative;
  bottom: 0;
  left: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  height: 6rem;
  padding-bottom: 1.08rem;
  > div {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    margin-top: 0.42rem;
    > img {
      width: 0.77rem;
      height: 0.77rem;
      background-color: red;
      display: block;
      border-radius: 50%;
      flex-shrink: 0;
    }
    > div {
      padding-left: 0.33rem;
      width: 100%;
      > h3 {
        font-size: 0.26rem;
        font-family: Source Han Sans CN;
        font-weight: 400;
        color: rgba(117, 117, 117, 1);
        font-style: normal;
      }
      > div {
        padding: 0.3rem 0.25rem;
        font-size: 0.28rem;
        font-family: Source Han Sans CN;
        font-weight: 400;
        color: rgba(36, 36, 36, 1);
        background-color: #ffffff;
        margin-top: 0.2rem;
        position: relative;
        max-width: 4.68rem;
        word-break: break-all;
        text-align: left;
        &::after {
          position: absolute;
          left: -0.18rem;
          top: 0.2rem;
          content: " ";
          border-top: 0.16rem solid #fff;
          border-left: 0.18rem solid transparent;
        }
      }
    }
  }
}
.toast {
  padding: 0.2rem;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  z-index: 99999;
  color: #fff;
  font-weight: 600;
}
